How to Install command-not-found software package in Ubuntu 16.04 LTS (Xenial Xerus)

How to Install command-not-found software package in Ubuntu 16.04 LTS (Xenial Xerus)

command-not-found software package provides Suggest installation of packages in interactive bash sessions, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install command-not-found 

command-not-found is installed in your system.

Make ensure the command-not-found package were installed using the commands given below,

$ sudo dpkg-query -l | grep command-not-found *

You will get with command-not-found package name, version, architecture and description in a table

command-not-found package basic information:

Distro Ubuntu 16 04 lts xenial xerus
Section Administration Utilities
Package command-not-found
Version 0.3ubuntu16.04
Description Suggest installation of packages in interactive bash sessions
Sub Section admin


See Also, How to uninstall or remove command-not-found software package from Ubuntu 16.04 LTS (Xenial Xerus) ?